<?php

namespace App\Helper;

trait Helpers
{
    function return_data($data = null, $code = 200, $msg = '请求成功')
    {
        return ['code' => $code, 'msg' => $msg, 'data' => $data];
    }
}
